package com.aiYouPms.common.service;

import com.aiYouPms.common.model.AdminUser;
import java.util.List;

public interface AdminUserService {
    
    List<AdminUser> findAll(AdminUser adminUser);
    
    AdminUser findById(Integer id);
    
    AdminUser findByUsername(String username);
    
    AdminUser create(AdminUser adminUser);
    
    AdminUser update(Integer id, AdminUser adminUser);
    
    void deleteById(Integer id);
    
    List<AdminUser> searchByUsername(String username);

    AdminUser loadUserByUsername(String username);
}
